package com.yic.module.system.api.code;

import com.yic.module.system.service.code.CodeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: Ljx
 * @createTime: 2023年12月07日 14:31:47
 * @version: v1.0.0
 * @Description: 编号API实现
 */
@Service
public class CodeApiImpl implements CodeApi{

    @Resource
    private CodeService codeService;

    @Override
    public String getCode(String code) {
        return codeService.genCode(code);
    }
}
